/***************************************************************************/
/* NOTE:                                                                   */
/* This document is copyright (c) by Oz Solomonovich.  All non-commercial  */
/* use is allowed, as long as this document not altered in any way, and    */
/* due credit is given.                                                    */
/***************************************************************************/

// ShellTools.h

#ifndef SHELLTOOLS_H
#define SHELLTOOLS_H


// PIDL utilities
// - the old PIDL utilities have been superseded by the CPIDL class

// icon extraction
//##ModelId=431C34C90050
typedef void (*RECEIVERFUNC)(HICON, LPVOID);
HICON GetFileIcon(LPCTSTR pszPath, UINT uFlags = 0, 
                  RECEIVERFUNC pReceiver = NULL, LPVOID pContext = 0);

// open folder
//##ModelId=431C34C901F4
enum OpenMethods { defaultAction, open, explore, exploreFrom };

void OpenLocation(CString& cLocation, OpenMethods aMethod);



#endif  // SHELLTOOLS_H
